var express = require('express');
var router = express.Router();
// var model = require('../model/index');
/* GET home page. */
router.get('/', function(req, res, next) {
  // model.connect(function(db){
  //   db.collection('users').find().toArray(function(err,docs){
  //     console.log()
  //   })
  // })
  res.render('index', { title: 'Express' });
});


module.exports = router;
